using UnityEngine;
using System.Collections;

public class StoneItem : Item
{
    StoneBehaviour m_Stone;
	void Start () 
    {
        m_Stone = new StoneBehaviour(this);
        spaceMatrix = new bool[1, 1];
        description = "Piedra para tirar \n y hacer ruido";
	}
	
	public override void Use ()
	{
        Player.instance.Equip(m_Stone);
        GUIPanelInGame.instance.OnWeaponEquip(visualModelGUI, Player.instance.GetSelectedCharacter().m_CharacterIndex);
	}
	public override void OnDrop ()
	{
        base.OnDrop();
        Player.instance.GetSelectedCharacter().UnEquip(m_Stone);
	}
    public void RemoveFromInventory()
    {
        InventoryController.GetInstance().GetActiveInventory().RemoveFromInventory(this);
    }
}